package lib.bone.access.module.post;

import lib.bone.access.module.post.domain.NepuPost;
import lib.bone.common.service.BaseService;

import java.util.List;
import java.util.Optional;

public interface NepuPostService extends BaseService<NepuPost,String> {
    /**
     * 判断是否冲突
     */
    Boolean isSame(NepuPost post);

    List<NepuPost> getAll();

    Optional<NepuPost> findByName(String name);
}
